cc.Class({
    extends: cc.Component,

    properties: {

    },

    // use this for initialization
    onLoad: function () {

    },


    onCollisionEnter(other, self) {
        other.node.destroy()
        self.node.destroy()
        this.node.parent.parent.emit('destroyed', true)
    },
});
